package com.zzyl.nursing.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 报警数据查询DTO（请求参数）
 * @author 34742
 */
@Data
@ApiModel("报警数据查询参数")
public class AlertDataPageDTO {
    private Integer pageNum= 1;
    private Integer pageSize= 10;

    @ApiModelProperty(value = "设备名称（精确搜索）", required = false)
    private String deviceName;

    @ApiModelProperty(value = "结束报警时间", required = false)
    private LocalDateTime endTime;

    @ApiModelProperty(value = "报警数据ID", required = false)
    private Long id;

    @ApiModelProperty(value = "开始报警时间", required = false)
    private LocalDateTime startTime;

    @ApiModelProperty(value = "状态（0：待处理，1：已处理）", required = false)
    private Integer status;

    private Long userId;

}